import axios from 'axios'

let host = 'http://47.99.185.254:8000'

export const getRedWine = params => {
  return axios.get(`${host}/commodity/api/redwine`, { params: params })
}

export const getRedWineList = params => {
  return axios.get(`${host}/commodity/api/redwine`)
}

export const getwinery = params => {
  return axios.get(`${host}/commodity/api/winery`, { params: params })
}

export const getfrozen = params => {
  return axios.get(`${host}/commodity/api/frozen`, { params: params })
}

export const getfrozenList = params => {
  return axios.get(`${host}/commodity/api/frozen`)
}
